home *** CD-ROM | disk | FTP | other *** search
- on CheckKey
- global CurrentField
- set temp to the key
- if (charToNum(temp) > 64) and (charToNum(temp) < 91) then
- put temp after field CurrentField
- end if
- if charToNum(temp) = 28 then
- delete char length(field CurrentField) of field CurrentField
- end if
- if charToNum(temp) = 8 then
- delete char length(field CurrentField) of field CurrentField
- end if
- if (charToNum(temp) > 96) and (charToNum(temp) < 123) then
- put numToChar(charToNum(temp) - 32) after field CurrentField
- end if
- if (charToNum(temp) = 13) and (length(field CurrentField) > 0) then
- go(the frame + 1)
- end if
- dontPassEvent()
- end
-